package com.lyf.design.practice.theory.structure.proxy.archived.v2;

/**
 * @author LYF
 * @date 2022/6/21
 */
public class TankProxy implements Tank{
    Tank tank;

    public TankProxy(Tank tank) {
        this.tank = tank;
    }

    @Override
    public void shoot() {
        tank.shoot();
    }
}
